<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@page import="java.io.File"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<jsp:useBean id="JSONRPCBridge" scope="session" class="org.jabsorb.JSONRPCBridge"/>
<jsp:useBean id="DelegateConnectors" scope="session" class="com.mexcad.db.delegate.DelegateConnectors" />
<% JSONRPCBridge.registerObject("DelegateConnectors", DelegateConnectors); %>

<%

int idTipoPersona = -1;

try{
	idTipoPersona = Integer.parseInt(request.getParameter("idTipoPersona")); 
} catch(NumberFormatException ex) {
	idTipoPersona = -1;
}


%>
<html>
<head>
<title>Carga de fotos</title>



</head>
<body class="Estilo5" style="overflow: hidden">
<!-- <form name="formUploadExpediente" id="formUploadExpediente" action="/mexcadSofom/jsp/uploadArchivo" enctype="MULTIPART/FORM-DATA" method="post"> -->
<form name="formUploadExpediente" id="formUploadExpediente" action="<%=request.getContextPath()%>/jsp/uploadArchivo" enctype="MULTIPART/FORM-DATA" method="post">


Elija el archivo que desea cargar:<br/>
<input type="hidden" name="nombreArchivo" id="nombreArchivo" />
<input type="hidden" name="mes" id="mes"/>
<input type="hidden" name="cierra" id="cierra" value="<%=request.getParameter("cierra")%>"/>
<table>
	<tr  aling="right"><td class="x-form-item">Archivo&nbsp;&nbsp;&nbsp;</td>
		<td><input type="file" name="imageFile" id="imageFile"/></td>
	</tr>
	<tr><td class="x-form-item">&nbsp;&nbsp;&nbsp;</td>
	<!--  	<td><span id="cboAnioL"></span></td> -->
	</tr>
	<tr><td class="x-form-item">&nbsp;&nbsp;&nbsp;</td>
	<!-- 	<td><span id="cboMesL"></span></td> -->
	</tr>
	<tr><td class="x-form-item">&nbsp;&nbsp;&nbsp;</td>
	<!-- 	<td><span id="obertL"></span></td> -->
	</tr>
	<tr><td><br/><br/></td></tr>
	
	<tr><td></td></tr>
</table>
<div align="center">
    <span id="btnExtSave"></span>	  
    </div>
<input type="submit" name="imageFile" value="Cargar" id="imageFile"/>

</form>
</body>
</html>